package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserChat;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class ChatBussiness {
    public static UserChat getUserChat(long userId) {
        return DaoHelper.getUserChatDaoImpl().getUserChat(userId);
    }

    public static boolean addUserChat(UserChat data) {
        return DaoHelper.getUserChatDaoImpl().add(data);
    }

    public static boolean updateUserChat(UserChat data) {
        return DaoHelper.getUserChatDaoImpl().update(data);
    }
}
